#include<stdio.h>
#include<iostream>
class Student{
	char nume[10],prenume[10];
	int nrMatricol;
public:
	Student(char, char, int);
	char getnume();
	char getprenume();
	int getnrMatricol();
	void setnume(char nu);
	void setprenume(char pr);
	void setnrMatricol(int nrM);
	friend ostream& operator <<(ostream & ,Student);
	friend istream& operator >>(istream & ,Student&);	
};
std::ostream& operator<<(ostream &out, Student s)
{
	out<<"\nNumele studentului este:";
	out<<s.nume;
	out<<"\nPrenumele studentului este:";
	out<<s.prenume;
	out<<"\nStudentul are numerul matricol:";
	out<<s.nrMatricol
	return out;
}
std::istream& Student::operator>>(istream &in, Student& s)
{
	std::cout<<"\nNume student:";
	std::in>>s.nume;
	std::cout<<"\nPrenume student:";
	std::in>>s.prenume;
	std::cout<<"\nNumar matricol:";
	std::in>>s.nrMatricol;
	return in;
}

